package com.example.xss.commom.enums;

import cn.hutool.http.HttpStatus;
import lombok.Getter;

/**
 * 错误枚举
 */
@Getter
public enum ErrorEnum implements IError{
    /**
     * 各种参数异常
     */
    ORG_ERROR(HttpStatus.HTTP_BAD_REQUEST,"机构找不到"),
    ORDER_STATUS_ERROR(HttpStatus.HTTP_INTERNAL_ERROR,"订单状态异常，请检查数据"),







    ;

    ErrorEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    private final Integer code;

    private final String message;

}
